<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Dubbo动态发布系统</title>
    <script src="/webjars/angularjs/1.4.8/angular.js"></script>
    <script src="/webjars/angularjs/1.4.8/angular-resource.js"></script>
    <script src="/webjars/angularjs/1.4.8/angular-route.js"></script>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="/webjars/adminlte/2.3.2/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/webjars/font-awesome/4.5.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/webjars/ionicons/2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/webjars/adminlte/2.3.2/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="/webjars/adminlte/2.3.2/dist/css/skins/_all-skins.min.css">
    <!-- jQuery 2.1.4 -->
    <script src="/webjars/adminlte/2.3.2/plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <!-- Bootstrap 3.3.5 -->
    <script src="/webjars/adminlte/2.3.2/bootstrap/js/bootstrap.min.js"></script>
    <!-- Slimscroll -->
    <script src="/webjars/adminlte/2.3.2/plugins/slimScroll/jquery.slimscroll.min.js"></script>
    <!-- FastClick -->
    <script src="/webjars/adminlte/2.3.2/plugins/fastclick/fastclick.min.js"></script>
    <!-- AdminLTE App -->
    <script src="/webjars/adminlte/2.3.2/dist/js/app.min.js"></script>
    <!-- AdminLTE for demo purposes -->
    <script src="/webjars/adminlte/2.3.2/dist/js/demo.js"></script>

    <!-- Bootstrap Color Picker -->
    <link rel="stylesheet" href="/webjars/adminlte/2.3.2/plugins/colorpicker/bootstrap-colorpicker.min.css">

    <link rel="stylesheet" href="/webjars/adminlte/2.3.2/plugins/select2/select2.min.css">
    <script src="/webjars/adminlte/2.3.2/plugins/select2/select2.full.min.js"></script>

    <link rel="stylesheet" href="/webjars/datetimepicker/2.4.7/jquery.datetimepicker.css">
    <link rel="stylesheet" href="/webjars/adminlte/2.3.2/plugins/iCheck/all.css">
    <script src="/webjars/datetimepicker/2.4.7/build/jquery.datetimepicker.full.js"></script>

    <!--layer-->
    <script src="/layer/layer.js"></script>

</head>
<body class="hold-transition skin-blue sidebar-mini" ng-app="indexApp">
<div class="wrapper">
    <header class="main-header">
        <!-- Logo -->
        <a href="" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>P</b></span> <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>Dubbo动态发布系统</b></span>
        </a>
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas"
               role="button"> <span class="sr-only">Toggle navigation</span> <span
                    class="icon-bar"></span> <span class="icon-bar"></span> <span
                    class="icon-bar"></span>
            </a>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <!-- User Account: style can be found in dropdown.less -->
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="/webjars/adminlte/2.3.2/dist/img/user2-160x160.jpg" class="user-image"
                                 alt="User Image">
                            <span class="hidden-xs">Dubbo</span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- User image -->
                            <li class="user-header">
                                <img src="/webjars/adminlte/2.3.2/dist/img/user2-160x160.jpg" class="img-circle"
                                     alt="User Image">
                                <p>
                                    Alexander Pierce - Web Developer
                                    <small>Member since
                                        Nov. 2012
                                    </small>
                                </p>
                            </li>
                            <!-- Menu Body -->
                            <li class="user-body">
                                <div class="col-xs-4 text-center">
                                    <a href="#">Followers</a>
                                </div>
                                <div class="col-xs-4 text-center">
                                    <a href="#">Sales</a>
                                </div>
                                <div class="col-xs-4 text-center">
                                    <a href="#">Friends</a>
                                </div>
                            </li>
                            <!-- Menu Footer-->
                            <li class="user-footer">
                                <div class="pull-left">
                                    <a href="#" class="btn btn-default btn-flat">Profile</a>
                                </div>
                                <div class="pull-right">
                                    <a href="/logout" class="btn btn-default btn-flat">登出</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>

    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
            <!-- Sidebar user panel -->
            <div class="user-panel">
                <div class="pull-left image">
                    <img src="/webjars/adminlte/2.3.2/dist/img/user2-160x160.jpg"
                         class="img-circle" alt="User Image">
                </div>
                <div class="pull-left info">
                    <p>Dubbo</p>
                    <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
                </div>
            </div>
            <!-- search form -->
            <form action="#" method="get" class="sidebar-form">
                <div class="input-group">
                    <input type="text" name="service" class="form-control "
                           placeholder="Search..."> <span class="input-group-btn">
					<button type="submit" name="search" id="search-btn"
                            class="btn btn-flat">
						<i class="fa fa-search"></i>
					</button>
				</span>
                </div>
            </form>
            <!-- /.search form -->
            <!-- sidebar menu: : style can be found in sidebar.less -->
            <ul class="sidebar-menu">
                <li class="header">MAIN NAVIGATION</li>
                <li class="treeview"><a href="#"> <i class="fa fa-database"></i>
                    <span> Dubbo</span> <i class="fa fa-angle-left pull-right"></i>
                </a>
                    <ul class="treeview-menu">
                        <li>
                            <a href="#/dynamic/host">
                                <i class="fa fa-circle-o"></i> 注册主机列表</a>
                        </li>
                        <li>
                            <a href="#/dynamic/deploy">
                                <i class="fa fa-circle-o"></i> 已发布服务列表</a>
                        </li>
                        <li>
                            <a href="#/dynamic/undeploy">
                                <i class="fa fa-circle-o"></i> 待发布服务列表</a>
                        </li>
                        <li>
                            <a href="#/dynamic/jar">
                                <i class="fa fa-circle-o"></i> Jar包列表</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </section>
        <!-- /.sidebar -->
    </aside>

    <div class="content-wrapper">
        <div ng-view="" id="mainFrame" style="margin: 0 auto; width: 100%; height: 100%;"></div>
    </div>

</div>
<script src="/js/index.js">


</script>
<script type="text/javascript">


    function cmainFrame() {
        var hmain = document.getElementById("mainFrame");
        var bheight = document.documentElement.clientHeight;
        hmain.style.width = '100%';
        hmain.style.height = (bheight - 60) + 'px';

    }
    cmainFrame();
    window.onresize = function () {
        cmainFrame();
    }
</script>
</body>

</html>
